package com.nyt.org.modules.api.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("HEAD")
public class XMLHead {

    //应用名称
    @XStreamAlias("App")
    private String App;

    //报文的版本号，区分接口报文不同的版本，填写“1000”
    @XStreamAlias("Ver")
    private String Ver;

    //报文标识号
    @XStreamAlias("MsgID")
    private String MsgID;

    //报文参考号
    //@XStreamAlias("MsgRef")
    //private String MsgRef;

    //交易代码
    @XStreamAlias("MsgCode")
    private String MsgCode;

    //销售渠道 Web销售(0000),POS销售(0001)
    @XStreamAlias("SellWay")
    private String SellWay;

    //接入 Key
    @XStreamAlias("AppKey")
    private String AppKey;

    //接入密码
    @XStreamAlias("AppSecret")
    private String AppSecret;

    //操作员号/登录用户名
    @XStreamAlias("OperID")
    private String OperID;

    //机构号
    @XStreamAlias("BranchID")
    private String BranchID;

    public String getApp() {
        return App;
    }

    public void setApp(String app) {
        App = app;
    }

    public String getVer() {
        return Ver;
    }

    public void setVer(String ver) {
        Ver = ver;
    }

    public String getMsgID() {
        return MsgID;
    }

    public void setMsgID(String msgID) {
        MsgID = msgID;
    }

    public String getMsgCode() {
        return MsgCode;
    }

    public void setMsgCode(String msgCode) {
        MsgCode = msgCode;
    }

    public String getSellWay() {
        return SellWay;
    }

    public void setSellWay(String sellWay) {
        SellWay = sellWay;
    }

    public String getAppKey() {
        return AppKey;
    }

    public void setAppKey(String appKey) {
        AppKey = appKey;
    }

    public String getAppSecret() {
        return AppSecret;
    }

    public void setAppSecret(String appSecret) {
        AppSecret = appSecret;
    }

    public String getOperID() {
        return OperID;
    }

    public void setOperID(String operID) {
        OperID = operID;
    }

    public String getBranchID() {
        return BranchID;
    }

    public void setBranchID(String branchID) {
        BranchID = branchID;
    }
}
